package com.rui.common.pojo;


import lombok.Data;

/**
 * @author Administrator
 */
@Data
public class Good {
    private Integer gid;
    private String goodName;
    private String goodPic;
    private String price;
    private Integer sales;
    private String desc;
    private Integer cid;
    private Integer sid;
    //配合前端结构，增加count属性，负责记录放入购物车的数量
    private int count;
    private Integer stat;

    public Good() {
    }

    public Good(Integer gid, String goodName, String goodPic, String price, Integer sales, String desc, Integer cid, Integer sid, int count, Integer stat) {
        this.gid = gid;
        this.goodName = goodName;
        this.goodPic = goodPic;
        this.price = price;
        this.sales = sales;
        this.desc = desc;
        this.cid = cid;
        this.sid = sid;
        this.count = count;
        this.stat = stat;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodPic() {
        return goodPic;
    }

    public void setGoodPic(String goodPic) {
        this.goodPic = goodPic;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Integer getStat() {
        return stat;
    }

    public void setStat(Integer stat) {
        this.stat = stat;
    }
}
